What is countdown function in Python